﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="modeconfig_edit.aspx.cs" Inherits="SF.Ucenter.admin.modeconfig.modeconfig_edit" %>

<%@ Import Namespace="SF.Common" %>

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <title>编辑商城模板</title>
    <link href="../../scripts/artdialog/ui-dialog.css" rel="stylesheet" type="text/css" />
    <link href="../skin/default/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" charset="utf-8" src="../../scripts/jquery/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../scripts/jquery/Validform_v5.3.2_min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../scripts/artdialog/dialog-plus-min.js"></script>
    <%--    <script type="text/javascript" src="../../scripts/webuploader/webuploader.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../js/uploader.js"></script>--%>
    <script type="text/javascript" charset="utf-8" src="../js/laymain.js"></script>
    <script type="text/javascript" charset="utf-8" src="../js/common.js"></script>
    <script type="text/javascript">
        $(function () {
            //初始化表单验证
            $("#form1").initValidform();
            //$(".upload-img").InitUploader({ filesize: "10240", sendurl: "../../tools/upload_ajax.ashx", swf: "../../scripts/webuploader/uploader.swf", filetypes: "gif,jpg,png,bmp,rar,zip,doc,xls,txt" });
        });
    </script>
</head>

<body class="mainbody">
    <form id="form1" runat="server">
        <!--导航栏-->
        <div class="location">
            <a href="javascript:history.back(-1);" class="back"><i></i><span>返回列表页</span></a>
            <a href="../center.aspx" class="home"><i></i><span>首页</span></a>
            <i class="arrow"></i>
            <a href="modeconfig_list.aspx"><span>商城列表</span></a>
            <i class="arrow"></i>
            <span>新增商城模板</span>
        </div>
        <div class="line10"></div>
        <!--/导航栏-->

        <!--内容-->
        <div id="floatHead" class="content-tab-wrap">
            <div class="content-tab">
                <div class="content-tab-ul-wrap">
                    <ul>
                        <li><a class="selected" href="javascript:;">基本信息</a></li>
                    </ul>
                </div>
            </div>
        </div>

        <div class="tab-content">
            <%-- <dl>
                <dt>所属分类</dt>
                <dd>
                    <div class="rule-single-select">
                        <asp:DropDownList ID="ddlParentId"  datatype="*" errormsg="请选择分类" sucmsg=" "  runat="server"></asp:DropDownList>
                    </div>
                </dd>
            </dl>--%>
            <%-- <dl>
                <dt>排序数字</dt>
                <dd>
                    <asp:TextBox ID="txtSort" runat="server" CssClass="input small" datatype="n" sucmsg=" ">99</asp:TextBox>
                    <span class="Validform_checktip">*数字，越小越向前</span>
                </dd>
            </dl>
            <dl>
                <dt>是否隐藏</dt>
                <dd>
                    <div class="rule-single-checkbox">
                        <asp:CheckBox ID="cbIsShow" runat="server" />
                    </div>
                    <span class="Validform_checktip">*隐藏后不显示在LBS服务定点中。</span>
                </dd>
            </dl>--%>
            <%-- <dl>
                <dt>配置编号</dt>
                <dd>
                    <asp:TextBox ID="txtSettingNum" runat="server" CssClass="input normal" datatype="*1-50" sucmsg=" "></asp:TextBox>
                    <span class="Validform_checktip">*配置编号，50字符内</span></dd>
            </dl>--%>
            <dl>
                <dt>调用名称</dt>
                <dd>
                    <asp:TextBox ID="txtCallConfig" runat="server" CssClass="input normal" datatype="*1-50" sucmsg=" "></asp:TextBox>
                    <span class="Validform_checktip">*调用名称英文字符、如：sys_config 系统唯一标识，50字符内</span></dd>
            </dl>
            <%--<dl>
                <dt>上架类型</dt>
                <dd>
                    <div class="rule-multi-checkbox">
                        <asp:CheckBoxList ID="cblItem" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                            <asp:ListItem Value="clothes">衣服</asp:ListItem>
                            <asp:ListItem Value="shoes">鞋子</asp:ListItem>
                            <asp:ListItem Value="trousers">裤子</asp:ListItem>
                            <asp:ListItem Value="maquillage">单品</asp:ListItem>                         
                        </asp:CheckBoxList>
                    </div>
                </dd>
            </dl>--%>
            <dl>
                <dt>所属分类</dt>
                <dd>
                    <div class="rule-single-select">
                        <asp:DropDownList ID="ddlGoodsTypeId" datatype="*" errormsg="请选类型" sucmsg=" " runat="server"></asp:DropDownList>
                    </div>
                </dd>
            </dl>
            <dl>
                <dt>配置名称</dt>
                <dd>
                    <asp:TextBox ID="txtSettingName" runat="server" CssClass="input normal" datatype="*1-50" sucmsg=" "></asp:TextBox>
                    <span class="Validform_checktip">*配置名称，50字符内</span></dd>
            </dl>
            <dl>
                <dt>运营模式</dt>
                <dd>
                    <div class="rule-multi-radio">
                        <asp:RadioButtonList ID="rblStatus" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                            <asp:ListItem Value="0" Selected="True">直销模式</asp:ListItem>
                            <asp:ListItem Value="1">分销模式</asp:ListItem>                           
                        </asp:RadioButtonList>
                    </div>
                </dd>
            </dl>
            <%-- <dl>
                <dt>运营模式</dt>
                <dd>
                    <div class="rule-multi-radio">
                        <span id="rblStatus">
                            <asp:RadioButton ID="rblStatus_0" GroupName="rblStatus" runat="server" Checked="true" />
                            <label for="rblStatus_0">直销模式</label>
                            <asp:RadioButton ID="rblStatus_1" GroupName="rblStatus" runat="server" />
                            <label for="rblStatus_1">分销模式</label>
                        </span>
                    </div>
                    <span class="Validform_checktip">*选择运营模式</span>
                </dd>
            </dl>--%>
            <dl>
                <dt>封面图片</dt>
                <dd>
                    <asp:TextBox ID="txtImgUrl" runat="server" CssClass="input normal" datatype="*1-50" sucmsg=" "></asp:TextBox>
                    <span class="Validform_checktip">*封面图片，50字符内</span></dd>
            </dl>
            <dl>
                <dt>备注说明</dt>
                <dd>
                    <asp:TextBox ID="txtRemark" runat="server" CssClass="input" TextMode="MultiLine"></asp:TextBox>
                    <span class="Validform_checktip">非必填，但建议对该服务点进行100~200字的描述</span>
                </dd>
            </dl>
        </div>
        <!--/内容-->

        <!--工具栏-->
        <div class="page-footer">
            <div class="btn-wrap">
                <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="btn" OnClick="btnSubmit_Click" />
                <input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick="javascript: history.back(-1);" />
            </div>
        </div>
        <!--/工具栏-->
    </form>
</body>
</html>

